import {cipherList} from "@/api/strategy/cipher"
import {bawlistList} from "@/api/strategy/whiteList"
import {portList} from "@/api/strategy/portManagement"
import {docCtlList} from "@/api/strategy/docControl"
import {docOutList} from "@/api/strategy/docOut"
import {firewallList} from "@/api/strategy/firewall"
import {settingList} from "@/api/strategy/modelSetting"

export const strategyTableProp = {
    cipher: {
        func: cipherList,
        rowKey: 'cipherid',
        rowName: 'name',
    },
    whiteList: {
        func: bawlistList,
        rowKey: 'id',
        rowName: 'name',
        pageOption: {
            type: 1
        }
    },
    blackList: {
        func: bawlistList,
        rowKey: 'id',
        rowName: 'name',
        pageOption: {
            type: 2
        }
    },
    portManagement: {
        func: portList,
        rowKey: 'id',
        rowName: 'name',
    },
    docControl: {
        func: docCtlList,
        rowKey: 'id',
        rowName: 'name',
        pageOption: {
            type: 0
        }
    },
    docOut: {
        func: docCtlList,
        rowKey: 'id',
        rowName: 'name',
        pageOption: {
            type: 1
        }
    },
    firewall: {
        func: firewallList,
        rowKey: 'id',
        rowName: 'name',
        pageOption: {
            ruleType: 0
        }
    },
    firewallout: {
        func: firewallList,
        rowKey: 'id',
        rowName: 'name',
        pageOption: {
            ruleType: 1
        }
    },
    modelSetting: {
        func: settingList,
        rowKey: 'id',
        rowName: 'name',
        pageOption: {
            type: 1
        }
    }
}
